package com.base.test.mutual.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 *  TMS公共返回值
 * @param <T>
 */
@Data
public class WmsListRespData<T> implements Serializable {
    private static final long serialVersionUID = -3525666114461737854L;
    /**
     *  响应类型： Success/Failure
     */
    @ApiModelProperty(value = " 响应类型： Success/Failure")
    @JSONField(name = "ask")
    private String ask;
    /**
     *  响应消息
     */
    @ApiModelProperty(value = "响应消息")
    @JSONField(name = "message")
    private String message;
    /**
     *  请求ID
     */
    @ApiModelProperty(value = "请求ID")
    @JSONField(name = "request_id")
    private String requestId;
    /**
     *  错误信息内容
     */
    @ApiModelProperty(value = "错误信息内容")
    @JSONField(name = "error")
    private WmsErrorResp error;
    /**
     * 响应数据
     */
    @ApiModelProperty(value = "响应数据")
    @JSONField(name = "data")
    private List<T> data;
}
